package com.szsh.aiot.common.enums;

/**
 * 加密方式枚举
 */
public enum EncryptMethodType {
    /** AES/ECB/PKCS5Padding */
    AES_ECB_PKCS_5(1),
    /** AES/CBC/PKCS5Padding */
    AES_CBC_PKCS_5(2),
    /** DES */
    DES(3),
    /** RSA */
    RSA(4);

    private final int value;

    EncryptMethodType(int value) {
        this.value = value;
    }

    public int value() {
        return this.value;
    }
}
